improved logging and exceptions handling
1.0.3