fixed for validation