Fixed bug of top pos.