fixed a bug int he profile