fix base attribute rendering