fixed a bug in top place