fix first error handling
remove lisence