Fixed weird bug of yet unknown reason.