fixed style errors identified by codesniffer