trying to fix apply button