Prevent exeption