fixed a datetime bug and added a description function for figure size