fixes to execute glue func