fixed bug with creating blank images
got rid of debug stuff in production