minor fixes on custom inputs