Add simple error handling for airplane id. Fix #18.