Used parent instead of presenter
Fixed bug with wrong snippet return value