minor bug fixed. pic display properly