Bug fix for initial load, removed some console logs.