fix LOAD logic