ir library not working on stand alone mode