#113 remove unused variable
#113 center frame