fixed taking the length of arguments
fix conf