bug fixed to accetp integer or numeric not required