fixing apply button