fixed bug with enable next