fixed undeclared constant bug
proper formatting of linux files