fix crop() function buttons