fixed new pic bug