fixed F5 bug