resolved an issue with SQL stuff by moving code back to disable method