fix null pointer exception and don't show stuff request perms if it makes no sense