Fix production/development checks