fixed picture response so it's stored in DB