fixed pic bug