history controller fixed: ']' simbol needed to close array of dependencies