Avoid not enough arguments TypeError