Bug in coupling.c fixed