moved reshape to depends, fixes #2