added lua51.pcall function