Fixing pretty attribute bug.