prevent node from throwing an error