prototype problem fixed