bug in selectself fixed