fix prototype render