fixed typos/bugs, recognized by SensioLabsInsight