Coils bug fixes with code view