fix GUPS_atomic bug