resize center bug fix #133