fixing errors

fixed plugin loading errors