fix button in strict mode