Fixing friendly assembly error