fixed issue reported by SensioLabs Insight