fixed style issues found by codacy, fixes #12