fixed some problems with APLpy entry