fix compilation issues
added className for NSObjects