fixed instagram production setting
fixed bug in api loader