fix codesniffer errors