fixed bug that displayed save button