Fixed validation in behavior