changing selected p to div due in order to removed unrequired p