hopefully fixed that error thing
second try at fixing