fixing promise error
removing authorizeBox,still thinking on need for such