Fix incorrect arguments processing.