signal emission and return value fixing