Fixed some code style, split acfActive()