fix translation bug, add blank strip before validation for user