updated fib.c and psh.c