bug fix for type validation