fixed loading error and removal error