Fixed errors when plugins loading cause by lastuser