fix active() function