fixed case sensitivity on function name