remove fucking useless function with useless ternary condition
prettify code
remove useless parenthesis
remove useless macros