remove trailing white spaces
act cannot be private, because we need to use it in a subclass
Merge pull request #1 from phunehehe/fix-compilation-error

Fix compilation error