Fix patch initialization problem

Task: https://trello.com/c/SnBkDseo