fix clientside rendering