authorize fixes