Fixed tiny bug with mismatching params