fixed notices' on file remove events