Application interface exception, fixed #5.