Fixed bug. Thanks Samuel Neves