fix function parliament is active