added a couple getters, fixed a small alert bug