got rid of unnecessary copying in hybrid editor