fixing some function, fixing from stupid reflector app XD