Fix inflating class error