dirty hack, have a better idea ?