[DEV] add more test and compatibility and add a better error display