Fixed errors

Fixed errors that caused the module to don't run in some NAOs