trim reload and added debugging
changed GET read logic