fatal error fixes - lib question