fix template to be like react so it doesn't "jump"