disable key not working for status function