How can they have cap problems? The team they have is already locked in for this year. They made their moves and retained who they wanted and managed to be cap compliant. It remains to be seen if the team is good enough (likely won't be enough to win hte cup, but probably make the playoffs and win a round or so)
Most of the dead cap clears this offseason and they 14,855,833 M in cap space according to cap-friendly with an active roster size of 13 players. This year they have 23.
Leafs for comparison's sake this year are at the cap with an active roster size of 22, and next year have 12,885,217 in projected cap space with an active roster size of 14 for the next season