fixed method causing issues