fixed small bug where brick doesnt exist