make protected calls to lua