fixed errors with dev statements