fixed: pch
fixed: registering lua functions