fixed php active state