bugfixes for fb linter