Fix double pic bug