beforeCreate was in the attributes and thus not running