fixed crop bug. now working