change staging url for testing and minor fix.