fix to work with lio