fixing store dependency