remove unused code + ensure method_missing is not broken