fixed random photo under mysql