main = 0 error fixed