remove asserts from main file