fixed return from main