Fixed error message on void params