added vision detection + morph bugfix