doing some error checking on image helper. I think it is because of the storage path