Typo fix and require php 5.4