fix for validate button on linux