Removed extra 'fi' from ram_lib