Bug Fix

Corrected bug with dev mode always being shown