fixed #526