Replaced lcfirst to be compatible with php >= 5.1.6