crappy workaround ebin