Fixes python syntax checker