catch error reading module