imshow not working need to check, why