fixed shitty formatting/coding standards and parse error