fixed method error