removing check-code from build