fixing minor bug.. not sure if this is necessary anymore