fix for staging log in environment